package com.minelx.datamicroscope.core.condition;

import com.minelx.datamicroscope.core.values.CommonField;

import java.util.List;

import static java.util.stream.Collectors.joining;

public interface Condition {
	String sqlText();

	List<CommonField> containedFields();

	static Condition and(List<Condition> conditions) {
		return new AndCondition(conditions);
	}
}
